package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 尿量记录对象 t_nl_record
 * 
 * @author ruoyi
 * @date 2025-03-12
 */
public class TNlRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 尿量 */
    @Excel(name = "尿量")
    private String nl;

    /** 主键ID */
    private String id;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 尿量日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "尿量日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nlTime;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private String patientId;

    public void setNl(String nl) 
    {
        this.nl = nl;
    }

    public String getNl() 
    {
        return nl;
    }

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setNlTime(Date nlTime) 
    {
        this.nlTime = nlTime;
    }

    public Date getNlTime() 
    {
        return nlTime;
    }

    public void setPatientId(String patientId) 
    {
        this.patientId = patientId;
    }

    public String getPatientId() 
    {
        return patientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nl", getNl())
            .append("id", getId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("nlTime", getNlTime())
            .append("patientId", getPatientId())
            .toString();
    }
}
